﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer;

namespace BusinessLogicLayer
{
    public class GenerateReportController
    {
        GenerateReportDAL generateRptDAL = new GenerateReportDAL();

        public List<Role> empList()
        {
            return generateRptDAL.getEmpList();
        }
        //for Total Qty by Dept
        public List<object> deptByQty(int m, int y)
        {
            return generateRptDAL.getDeptByQty(m, y);
        }
        public List<object> deptByQtyTwo(int m1, int y1,int m2, int y2)
        {
            return generateRptDAL.getDeptByQtyTwo(m1, y1, m2, y2);
        }
        public List<object> deptByQtyThree(int m1, int y1, int m2, int y2, int m3, int y3)
        {
            return generateRptDAL.getDeptByQtyThree(m1, y1, m2, y2,m3,y3);
        }
        //end Total Qty by Dept

        //for Total Price by Dept
        public List<object> deptbyprice(int m, int y)
        {
            return generateRptDAL.getDeptByPrice(m, y);
        }
        public List<object> deptbypriceTwo(int m1, int y1, int m2, int y2)
        {
            return generateRptDAL.getDeptByPriceTwo(m1, y1, m2, y2);
        }
        public List<object> deptByPriceThree(int m1, int y1, int m2, int y2, int m3, int y3)
        {
            return generateRptDAL.getDeptByPriceThree(m1, y1, m2, y2,m3,y3);
        }
        
        //end Total Price by Dept


        //for Category by Qty
        public List<object> catByQty(int m, int y)
        {
            return generateRptDAL.getCatByQty(m, y);
        }
        public List<object> catByQtyTwo(int m1, int y1, int m2, int y2)
        {
            return generateRptDAL.getCatByQtyTwo(m1, y1, m2, y2);
        }
        public List<object> catByQtyThree(int m1, int y1, int m2, int y2, int m3, int y3)
        {
            return generateRptDAL.getCatByQtyThree(m1, y1, m2, y2, m3, y3);
        }
        //end Category by Qty

        //for Category by Price
        public List<object> catByPrice(int m, int y)
        {
            return generateRptDAL.getCatByPrice(m, y);
        }
        public List<object> catByPriceTwo(int m1, int y1, int m2, int y2)
        {
            return generateRptDAL.getCatByPriceTwo(m1, y1, m2, y2);
        }
        public List<object> catByPriceThree(int m1, int y1, int m2, int y2, int m3, int y3)
        {
            return generateRptDAL.getCatByPriceThree(m1, y1, m2, y2, m3, y3);
        }

        
    }
}
